using System;

namespace Qplus.protocol
{

    /**
     * 语音开始通知
     *
     */
    public class U2C_NOTIFY_ROOM_VOICEBEGIN : InPacket{
    //	kal_uint32 roomID; 房间号码
    //	kal_uint32 userID;
    //	kal_uint32 dateTime; 发起语音会话的时间

	    private long roomID;
	
	    private long userID;
	
	    private long date;
	
	    
	    protected override void parseBody(byte[] data, int offset, int count) {
		    roomID = get4(data);
		    userID = get4(data);
		    date = get4(data);
	    }


	    public long getDate() {
		    return date;
	    }

	    public void setDate(long date) {
		    this.date = date;
	    }


	    public long getUserID() {
		    return userID;
	    }


	    public void setUserID(long userID) {
		    this.userID = userID;
	    }


	    public long getRoomID() {
		    return roomID;
	    }


	    public void setRoomID(long roomID) {
		    this.roomID = roomID;
	    }
	
	}
}
